package com.shudingke.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

public class Collections extends Model<Collections> implements Serializable {
    private static final long serialVersionUID=1L;
    
    @TableId(value = "cid", type = IdType.AUTO)
    private Integer cid;
    private Integer uid;
    private Integer pid;

    public Collections() {
    }

    public Collections(Integer cid, Integer uid, Integer pid) {
        this.cid = cid;
        this.uid = uid;
        this.pid = pid;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    @Override
    public String toString() {
        return "Collections{" +
                "cid=" + cid +
                ", uid=" + uid +
                ", pid=" + pid +
                '}';
    }
}
